import request from '@/utils/request'

//  查询隐患整改列表
export function repairQueryQuestion(params) {
  return request({
    url: '/business/defect/repair/queryQuestion',
    method: 'get',
    params
  })
}


//  查询隐患整改列表
export function queryQuestionRepairRecord(params) {
  return request({
    url: '/business/defect/defectQuestion/queryQuestionRepairRecord',
    method: 'get',
    params
  })
}

//  获取隐患详情
export function repairGetQuestionDetail(params) {
  return request({
    url: '/business/defect/repair/getQuestionDetail',
    method: 'get',
    params
  })
}

//  隐患整改
export function repairQuestion(data) {
  return request({
    url: '/business/defect/repair/repairQuestion',
    method: 'post',
    data
  })
}
